import axios from "./axios";
import qs from "qs";

let userInfo = {
    login: (info) => {
        return axios({
            method: "post",
            url: "denglu/users/login",

            data: qs.stringify(info),
        })
    },
    register: (info) => {
        return axios({
            method: "post",
            url: "denglu/users/register",

            data: qs.stringify(info),
        })
    }
}
export default userInfo;